﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace JXC.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("khxx")]
    public partial class khxx
    {
           public khxx(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:客户编码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string? KHCode {get;set;}

           /// <summary>
           /// Desc:客户名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string? KHName {get;set;}

           /// <summary>
           /// Desc:联系人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string? LXR {get;set;}

           /// <summary>
           /// Desc:联系电话
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string? LXDH {get;set;}

           /// <summary>
           /// Desc:客户类型编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string? KHLXCode {get;set;}

           /// <summary>
           /// Desc:客户类型名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string? KHLXName {get;set;}

           /// <summary>
           /// Desc:所属地区
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string? SSDQ {get;set;}

           /// <summary>
           /// Desc:我方应付金额
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? WFYSJE { get; set; } = 0;

           /// <summary>
           /// Desc:联系地址
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string? LXDZ {get;set;}

           /// <summary>
           /// Desc:默认客户
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? IsMR { get; set; } = false;

           /// <summary>
           /// Desc:禁用
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? IsJY { get; set; } = false;

           /// <summary>
           /// Desc:简码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string? JM {get;set;}

           /// <summary>
           /// Desc:备注
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string? BZ {get;set;}

    }
}
